package com.finley.flowabledemo.design.decoration;


/**
 * @description:
 * @author: xianfei.chao
 * @date 2025/6/2 11:21
 * @version: 1.0
 */
public class Finery extends Person{

    protected Person component;

    public void setDecorator(Person component) {
        this.component = component;
    }

    @Override
    void show() {
        if (component!= null) {
            component.show();
        }
    }
}
